package de.stefanocke.roo.kontaktliste.web.common;

import java.io.Serializable;

import org.apache.wicket.Component;
import org.apache.wicket.model.IModel;

import de.stefanocke.roo.wicket.RooStereotype;

/**
 * A factory for components.
 */
@RooStereotype("wicket.ComponentFactory")
public interface ComponentFactory<T> extends Serializable {
	Component createComponent(String id, IModel<T> model);
}
